package com.f5.management.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Repository;

import java.util.Date;

@Data
@ToString
@Repository
public class AdminUser {

  private long id;
  private long rid;
  private String name;
  private String account;
  private String password;
  private String email;

  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Date joinTime;
  private long userState;
  private String number;
  //一个用户具有一种角色
  private Role role;
  //用户删除
  private String deleteAccount;



}
